package com.ruoyi.rural.mapper;

import java.util.List;
import com.ruoyi.rural.domain.RuralBenefitAnagementDonate;

/**
 * 救济金捐赠Mapper接口
 * 
 * @author yangming
 * @date 2022-02-14
 */
public interface RuralBenefitAnagementDonateMapper 
{
    /**
     * 查询救济金捐赠
     * 
     * @param id 救济金捐赠主键
     * @return 救济金捐赠
     */
    public RuralBenefitAnagementDonate selectRuralBenefitAnagementDonateById(String id);

    /**
     * 查询救济金捐赠列表
     * 
     * @param ruralBenefitAnagementDonate 救济金捐赠
     * @return 救济金捐赠集合
     */
    public List<RuralBenefitAnagementDonate> selectRuralBenefitAnagementDonateList(RuralBenefitAnagementDonate ruralBenefitAnagementDonate);

    /**
     * 新增救济金捐赠
     * 
     * @param ruralBenefitAnagementDonate 救济金捐赠
     * @return 结果
     */
    public int insertRuralBenefitAnagementDonate(RuralBenefitAnagementDonate ruralBenefitAnagementDonate);

    /**
     * 修改救济金捐赠
     * 
     * @param ruralBenefitAnagementDonate 救济金捐赠
     * @return 结果
     */
    public int updateRuralBenefitAnagementDonate(RuralBenefitAnagementDonate ruralBenefitAnagementDonate);

    /**
     * 删除救济金捐赠
     * 
     * @param id 救济金捐赠主键
     * @return 结果
     */
    public int deleteRuralBenefitAnagementDonateById(String id);

    /**
     * 批量删除救济金捐赠
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRuralBenefitAnagementDonateByIds(String[] ids);

    List<RuralBenefitAnagementDonate> selectRuralBenefitAnagementDonateListByWeek(RuralBenefitAnagementDonate ruralBenefitAnagementDonate);
}
